<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>EventMenu</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">EventMenu()</font></b></p>
<p><b>语法</b></p><blockquote>

MenuItem = <font color="#3A3966"><b>EventMenu</b></font>()</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



After an event of type <font color="#924B72">#PB_Event_Menu</font> (returned by <a href="windowevent.html">WindowEvent()</a> or <a href="waitwindowevent.html">WaitWindowEvent()</a>), 
use this function to determine which menu item, <a href="../toolbar/index.html">toolbar</a> item 
or <a href="addkeyboardshortcut.html">keyboard</a> shortcut has been selected. 

 

</blockquote><p><b>参数</b></p><blockquote>
无.


</blockquote><p><b>返回值</b></p><blockquote>



Returns the menu item, toolbar item or keyboard shortcut number associated to the event. 

 

</blockquote><p><b>备注</b></p><blockquote>



A toolbar event is like a menu event (as toolbars are shortcuts for menu items most of the time). 
So it's a good idea, if the toolbar buttons and the menu items have the same ID, then the same 
operation can be done on both without any additional code. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="windowevent.html">WindowEvent()</a>, <a href="waitwindowevent.html">WaitWindowEvent()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=eventgadget.html>EventGadget()</a> - <a href="index.html">Window Index</a> - <a href="eventtimer.html">EventTimer()</a> -&gt;<br><br>

</body></html>